Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Connection.get_hook parameter to make it the same as in SqlSe… #19849

Merged
merged 1 commit into from
Nov 27, 2021

Conversation

kazanzhy
Copy link
Contributor

@kazanzhy kazanzhy commented Nov 26, 2021

Renamed Connection.get_hook parameter from hook_kwargs to hook_params to make it the same as in SqlSensor(hook_params) and SqlOperator(hook_params).

closes: #19638

@boring-cyborg boring-cyborg bot added the area:core-operators Operators, Sensors and hooks within Core Airflow label Nov 26, 2021
@kazanzhy kazanzhy changed the title Renamed Connection.get_hook parameter to make it the same as in SqlSe… Rename Connection.get_hook parameter to make it the same as in SqlSe… Nov 26, 2021
@uranusjr
Copy link
Member

Backward compatibility is not an issue since #18718 has not been released.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Nov 27, 2021
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk
Copy link
Member

potiuk commented Nov 27, 2021

Backward compatibility is not an issue since #18718 has not been released.

Oh yeah . Just checked the very thing too :)

@potiuk potiuk merged commit 5a5d50d into apache:main Nov 27, 2021
dillonjohnson pushed a commit to dillonjohnson/airflow that referenced this pull request Dec 1, 2021
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core-operators Operators, Sensors and hooks within Core Airflow full tests needed We need to run full set of tests for this PR to merge type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve parameter name for SqlSensor, BaseSqlOperator, Connection
4 participants